{
    _id: ObjectId('60ae2ce907de917c11a6583c'),
    id: 2,
    title: '',
    formNo: '',
    ref: '',
    issue: '',
    formSchema: {
        components: [
            {
                label: 'well',
                key: 'well',
                type: 'well',
                input: false,
                tableView: false,
                components: [
                    {
                        title: 'Visual Inspection',
                        theme: 'primary',
                        collapsible: false,
                        key: 'visualInspection',
                        type: 'panel',
                        label: 'Panel',
                        input: false,
                        tableView: false,
                        components: [
                            {
                                label: 'Table',
                                cellAlignment: 'left',
                                striped: true,
                                bordered: true,
                                key: 'table',
                                type: 'table',
                                numRows: 2,
                                numCols: 5,
                                input: false,
                                tableView: false,
                                rows: [
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<h4><span style="font-family:Verdana, Geneva, sans-serif;">Items</span></h4>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content1',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<h4><span style="font-family:Verdana, Geneva, sans-serif;">Checking</span></h4>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<h4><span style="font-family:Verdana, Geneva, sans-serif;">Acceptance criteria</span></h4>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content2',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<h4><span style="font-family:Verdana, Geneva, sans-serif;">Result</span></h4>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content3',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<h4><span style="font-family:Verdana, Geneva, sans-serif;">Remark</span></h4>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content4',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        }
                                    ],
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<p><span style="font-family:Verdana, Geneva, sans-serif;">1.</span></p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content5',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>Visual Inspection</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content7',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Acceptance Criteria',
                                                    hidden: true,
                                                    hideLabel: true,
                                                    tableView: true,
                                                    key: 'acceptanceCriteria',
                                                    type: 'textfield',
                                                    input: true
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Result',
                                                    optionsLabelPosition: 'right',
                                                    inline: true,
                                                    tableView: false,
                                                    values: [
                                                        {
                                                            label: 'Pass',
                                                            value: 'pass',
                                                            shortcut: ''
                                                        },
                                                        {
                                                            label: 'Fail',
                                                            value: 'fail',
                                                            shortcut: ''
                                                        }
                                                    ],
                                                    validate: {
                                                        onlyAvailableItems: false
                                                    },
                                                    key: 'result',
                                                    type: 'radio',
                                                    input: true
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Remark',
                                                    autoExpand: false,
                                                    tableView: true,
                                                    key: 'remark',
                                                    type: 'textarea',
                                                    input: true
                                                }
                                            ]
                                        }
                                    ]
                                ]
                            }
                        ]
                    },
                    {
                        title: 'Preliminary Check',
                        theme: 'primary',
                        collapsible: false,
                        key: 'visualInspection1',
                        type: 'panel',
                        label: 'Visual Inspection',
                        input: false,
                        tableView: false,
                        components: [
                            {
                                label: '1. General Finishing',
                                optionsLabelPosition: 'right',
                                inline: true,
                                tableView: false,
                                values: [
                                    {
                                        label: 'Pass',
                                        value: 'pass',
                                        shortcut: ''
                                    },
                                    {
                                        label: 'Fail',
                                        value: 'fail',
                                        shortcut: ''
                                    }
                                ],
                                validate: {
                                    required: true,
                                    onlyAvailableItems: false
                                },
                                key: 'generalFinishing',
                                type: 'radio',
                                input: true
                            },
                            {
                                label: '2. PCB Workmanship',
                                optionsLabelPosition: 'right',
                                inline: true,
                                tableView: false,
                                values: [
                                    {
                                        label: 'Pass',
                                        value: 'pass',
                                        shortcut: ''
                                    },
                                    {
                                        label: 'Fail',
                                        value: 'fail',
                                        shortcut: ''
                                    }
                                ],
                                validate: {
                                    required: true,
                                    onlyAvailableItems: false
                                },
                                key: 'generalFinishing1',
                                type: 'radio',
                                input: true
                            },
                            {
                                label: '3. Soldering Quality',
                                optionsLabelPosition: 'right',
                                inline: true,
                                tableView: false,
                                values: [
                                    {
                                        label: 'Pass',
                                        value: 'pass',
                                        shortcut: ''
                                    },
                                    {
                                        label: 'Fail',
                                        value: 'fail',
                                        shortcut: ''
                                    }
                                ],
                                validate: {
                                    required: true,
                                    onlyAvailableItems: false
                                },
                                key: 'generalFinishing2',
                                type: 'radio',
                                input: true
                            }
                        ]
                    },
                    {
                        title: 'Functional Test',
                        theme: 'primary',
                        collapsible: false,
                        key: 'visualInspection2',
                        type: 'panel',
                        label: 'Preliminary Check',
                        input: false,
                        tableView: false,
                        components: [
                            {
                                label: 'Table',
                                cellAlignment: 'center',
                                striped: true,
                                bordered: true,
                                key: 'table1',
                                type: 'table',
                                numRows: 4,
                                numCols: 4,
                                input: false,
                                tableView: false,
                                rows: [
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<p>Item</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content6',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>Description</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content8',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>Acceptance Value</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content9',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>Result</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content10',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        }
                                    ],
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<p>1.</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content11',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>+5V output</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content13',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p><span style="background-color:rgb(255,255,255);color:rgb(32,33,36);">± </span>2.5%&nbsp;</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content17',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Functional Test 1',
                                                    mask: false,
                                                    spellcheck: true,
                                                    tableView: false,
                                                    multiple: true,
                                                    defaultValue: [
                                                        null
                                                    ],
                                                    delimiter: false,
                                                    requireDecimal: false,
                                                    inputFormat: 'plain',
                                                    validate: {
                                                        customMessage: 'The value should be within 0 - 24 V',
                                                        min: 0,
                                                        max: 24
                                                    },
                                                    key: 'functionalTest4',
                                                    type: 'number',
                                                    input: true
                                                }
                                            ]
                                        }
                                    ],
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<p>2.</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content12',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>+24V output</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content14',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p><span style="background-color:rgb(255,255,255);color:rgb(32,33,36);">± </span>2.5%</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content18',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Functional Test 2',
                                                    mask: false,
                                                    spellcheck: true,
                                                    tableView: false,
                                                    multiple: true,
                                                    delimiter: false,
                                                    requireDecimal: false,
                                                    inputFormat: 'plain',
                                                    validate: {
                                                        customMessage: 'The value should be within 0 - 24 V',
                                                        max: 24,
                                                        min: 0
                                                    },
                                                    key: 'functionalTest2',
                                                    type: 'number',
                                                    input: true,
                                                    defaultValue: [
                                                        null
                                                    ]
                                                }
                                            ]
                                        }
                                    ],
                                    [
                                        {
                                            components: [
                                                {
                                                    html: '<p>3.</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content15',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p>+3V output</p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content16',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    html: '<p><span style="background-color:rgb(255,255,255);color:rgb(32,33,36);">±2.5%</span></p>',
                                                    label: 'Content',
                                                    refreshOnChange: false,
                                                    key: 'content19',
                                                    type: 'content',
                                                    input: false,
                                                    tableView: false
                                                }
                                            ]
                                        },
                                        {
                                            components: [
                                                {
                                                    label: 'Functional Test 3',
                                                    mask: false,
                                                    spellcheck: true,
                                                    tableView: false,
                                                    multiple: true,
                                                    defaultValue: [
                                                        null
                                                    ],
                                                    delimiter: false,
                                                    requireDecimal: false,
                                                    inputFormat: 'plain',
                                                    validate: {
                                                        customMessage: 'The value should be within 0 - 24 V',
                                                        min: 0,
                                                        max: 24
                                                    },
                                                    key: 'functionalTest5',
                                                    type: 'number',
                                                    input: true
                                                }
                                            ]
                                        }
                                    ]
                                ]
                            },
                            {
                                label: 'Functional Test 2 Result',
                                tableView: true,
                                key: 'functionalTest2Result',
                                type: 'textfield',
                                input: true
                            }
                        ]
                    }
                ]
            }
        ]
    },
    endorsor_require: true,
    created: ISODate('2021-05-27T16:29:11.585Z'),
    updated: ISODate('2021-05-27T16:29:11.585Z'),
    enable: true
}